fetch(url)
    .then(response => response.json())
    .then(data => console.log(data))

const response = await fetch(url);
const data = await response.json();
console.log(data);
if (response.status === 200) {
    //success
    console.log(data);
}
response.ok



